Set options

knitr::opts_chunk$set(
  warning = FALSE, # show warnings during codebook generation
  message = FALSE, # show messages during codebook generation
  error = TRUE, # do not interrupt codebook generation in case of errors,
                # usually better for debugging
  echo = TRUE  # show R code
)
ggplot2::theme_set(ggplot2::theme_bw())

Prepare codebook

library(codebook)
library(labelled)

# Load data
codebook_data <- vroom::vroom(here::here("Data/Processed/Exp1/Kan_Processed_Exp1_Sensitivity_Sentence_data.tsv"))

# Label variables
var_label(codebook_data$participant_id) <- "Unique identifier of the participant"
var_label(codebook_data$sentence_region_no) <- "Unique identifier of the sentence region"
var_label(codebook_data$sentence_region_type) <- "Type of the sentence region"
var_label(codebook_data$Congruent) <- "Mean residual reading time (ms) of the sentence regions in the congruent sentences"
var_label(codebook_data$Incongruent) <- "Mean residual reading time (ms) of the sentence regions in the incongruent sentences"

Create codebook

codebook(codebook_data)

Metadata

Description

Dataset name: codebook_data

The dataset has N=924 rows and 5 columns. 924 rows have no missing values on any column.

Metadata for search engines

  • Date published: 2021-01-28
x
sentence_region_no
participant_id
Congruent
Incongruent
sentence_region_type

#Variables

sentence_region_no

Unique identifier of the sentence region

Distribution

Distribution of values for sentence_region_no

Distribution of values for sentence_region_no

0 missing values.

Summary statistics

name label data_type n_missing complete_rate min median max mean sd hist
sentence_region_no Unique identifier of the sentence region numeric 0 1 1 4 7 4 2.001083 <U+2587><U+2583><U+2583><U+2583><U+2587>

participant_id

Unique identifier of the participant

Distribution

Distribution of values for participant_id

Distribution of values for participant_id

0 missing values.

Summary statistics

name label data_type n_missing complete_rate min median max mean sd hist
participant_id Unique identifier of the participant numeric 0 1 109 2051 3054 1913.189 708.4372 <U+2581><U+2585><U+2581><U+2587><U+2583>

Congruent

Mean residual reading time (ms) of the sentence regions in the congruent sentences

Distribution

Distribution of values for Congruent

Distribution of values for Congruent

0 missing values.

Summary statistics

name label data_type n_missing complete_rate min median max mean sd hist
Congruent Mean residual reading time (ms) of the sentence regions in the congruent sentences numeric 0 1 -130 -2 153 -2.948379 20.1055 <U+2581><U+2582><U+2587><U+2581><U+2581>

Incongruent

Mean residual reading time (ms) of the sentence regions in the incongruent sentences

Distribution

Distribution of values for Incongruent

Distribution of values for Incongruent

0 missing values.

Summary statistics

name label data_type n_missing complete_rate min median max mean sd hist
Incongruent Mean residual reading time (ms) of the sentence regions in the incongruent sentences numeric 0 1 -153 2.1 148 2.459493 21.40783 <U+2581><U+2581><U+2587><U+2581><U+2581>

sentence_region_type

Type of the sentence region

Distribution

Distribution of values for sentence_region_type

Distribution of values for sentence_region_type

0 missing values.

Summary statistics

name label data_type n_missing complete_rate n_unique empty min max whitespace
sentence_region_type Type of the sentence region character 0 1 3 0 13 24 0

Missingness report

Codebook table

JSON-LD metadata The following JSON-LD can be found by search engines, if you share this codebook publicly on the web.

{
  "name": "codebook_data",
  "datePublished": "2021-01-28",
  "description": "The dataset has N=924 rows and 5 columns.\n924 rows have no missing values on any column.\n\n\n## Table of variables\nThis table contains variable names, labels, and number of missing values.\nSee the complete codebook for more.\n\n|name                 |label                                                                                | n_missing|\n|:--------------------|:------------------------------------------------------------------------------------|---------:|\n|sentence_region_no   |Unique identifier of the sentence region                                             |         0|\n|participant_id       |Unique identifier of the participant                                                 |         0|\n|Congruent            |Mean residual reading time (ms) of the sentence regions in the congruent sentences   |         0|\n|Incongruent          |Mean residual reading time (ms) of the sentence regions in the incongruent sentences |         0|\n|sentence_region_type |Type of the sentence region                                                          |         0|\n\n### Note\nThis dataset was automatically described using the [codebook R package](https://rubenarslan.github.io/codebook/) (version 0.9.2).",
  "keywords": ["sentence_region_no", "participant_id", "Congruent", "Incongruent", "sentence_region_type"],
  "@context": "http://schema.org/",
  "@type": "Dataset",
  "variableMeasured": [
    {
      "name": "sentence_region_no",
      "description": "Unique identifier of the sentence region",
      "@type": "propertyValue"
    },
    {
      "name": "participant_id",
      "description": "Unique identifier of the participant",
      "@type": "propertyValue"
    },
    {
      "name": "Congruent",
      "description": "Mean residual reading time (ms) of the sentence regions in the congruent sentences",
      "@type": "propertyValue"
    },
    {
      "name": "Incongruent",
      "description": "Mean residual reading time (ms) of the sentence regions in the incongruent sentences",
      "@type": "propertyValue"
    },
    {
      "name": "sentence_region_type",
      "description": "Type of the sentence region",
      "@type": "propertyValue"
    }
  ]
}`